package org.black.phoneUtility.sms.schedule.provider;

import android.net.Uri;
import android.provider.BaseColumns;

public final class SmsScheduleContract {
	public static final String AUTHORITY = "org.black.phoneUtility.smsSchedule.provider";

	public static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY);

	public static class SmsScheduleGlobalSettings implements BaseColumns {
		private SmsScheduleGlobalSettings() {
		}

		public static final String SMS_SCHEDULE_GLOBAL_SETTINGS = "smsReplyGlobalSettings";

		public static final Uri CONTENT_URI = Uri.withAppendedPath(
				AUTHORITY_URI, SMS_SCHEDULE_GLOBAL_SETTINGS);
		public static final String DO_NOT_SEND_SCHEDULE_MESSAGE_ON_ROAMING = "do_not_send_schedule_message_on_roaming";
	}

	public static final class SmsSchedules implements BaseColumns {
		private SmsSchedules() {
		}

		public static final String SMS_SCHEDULES = "smsSchedules";

		public static final Uri CONTENT_URI = Uri.withAppendedPath(
				AUTHORITY_URI, SMS_SCHEDULES);

		public static final String SUBJECT = "subject";
		public static final String SCHEDULE_DATE_TIME = "schedule_date_time";
		public static final String REPEAT_TYPE = "repeat_type";
		public static final String REPEAT_EVERY = "repeat_every";
		public static final String REPEAT_ON_SUNDAY = "repeat_on_sunday";
		public static final String REPEAT_ON_MONDAY = "repeat_on_monday";
		public static final String REPEAT_ON_TUESDAY = "repeat_on_tuesday";
		public static final String REPEAT_ON_WEDNESDAY = "repeat_on_wednesday";
		public static final String REPEAT_ON_THURSDAY = "repeat_on_thursday";
		public static final String REPEAT_ON_FRIDAY = "repeat_on_friday";
		public static final String REPEAT_ON_SATURDAY = "repeat_on_saturday";
		public static final String MESSAGE = "message";
		public static final String IS_ACTIVATED = "is_activated";
		public static final String END_TYPE = "end_type";
		public static final String END_AFTER_TIMES = "end_after_times";
		public static final String END_ON_SPECIFIC_DATATIME = "end_on_specific_date_time";
		public static final String NEXT_SCHEDULE_DATE_TIME = "next_schedule_date_time";
		public static final String CREATION_DATE_TIME = "creation_date_time";
		public static final String MODIFICATION_DATE_TIME = "modification_date_time";

		public static final String SUMMARY_COUNT = "summ_count";

		public static final int REPEAT_TYPE_NONE = 1025;
		public static final int REPEAT_TYPE_EVERY_SECOND = 1026;
		public static final int REPEAT_TYPE_EVERY_MINUTE = 1027;
		public static final int REPEAT_TYPE_HOURLY = 1028;
		public static final int REPEAT_TYPE_DAILY = 1029;
		public static final int REPEAT_TYPE_WEEKLY = 1030;
		public static final int REPEAT_TYPE_MONTHLY = 1031;
		public static final int REPEAT_TYPE_YEARLY = 1032;

		public static final int END_TYPE_NEVER = 1025;
		public static final int END_TYPE_AFTER_TIMES = 1026;
		public static final int END_TYPE_ON_SPECIFIC_DATETIME = 1027;
	}

	public static final class SmsScheduleRecipients implements BaseColumns {
		private SmsScheduleRecipients() {

		}

		public static final String SMS_SCHEDULE_RECIPIENTS = "smsScheduleRecipients";

		public static final Uri CONTENT_URI = Uri.withAppendedPath(
				AUTHORITY_URI, SMS_SCHEDULE_RECIPIENTS);

		public static final String TYPE = "type";
		public static final String PHONE_NUMBER = "phoneNumber";
		public static final String NAME = "name";
		public static final String GROUP_NAME = "groupName";
		public static final String CREATION_DATE_TIME = "creation_date_time";
		public static final String MODIFICATION_DATE_TIME = "modification_date_time";
		public static final String REFERENCE_SMS_SCHEDULE_ID = "reference_sms_schedule_id";

		public static final int TYPE_USER_INPUT = 1025;
		public static final int TYPE_CHOOSE_FROM_CONTACT_GROUP = 1026;
		public static final int TYPE_CHOOSE_FROM_CONTACT = 1027;
	}

	public static final class SmsScheduleSendingRecords implements BaseColumns {
		private SmsScheduleSendingRecords() {

		}

		public static final String SMS_SCHEDULE_SENDING_RECORDS = "smsScheduleSendingRecords";

		public static final Uri CONTENT_URI = Uri.withAppendedPath(
				AUTHORITY_URI, SMS_SCHEDULE_SENDING_RECORDS);

		public static final String MESSAGE = "message";
		public static final String CREATION_DATE_TIME = "creation_date_time";
		public static final String REFERENCE_SMS_SCHEDULE_ID = "reference_sms_schedule_id";
		public static final String IS_VALID = "is_valid";
	}

	public static final class SmsScheduleSendingRecordRecipients implements
			BaseColumns {
		private SmsScheduleSendingRecordRecipients() {

		}

		public static final String SMS_SCHEDULE_SENDING_RECORD_RECIPIENTS = "smsScheduleSendingRecordRecipients";

		public static final Uri CONTENT_URI = Uri.withAppendedPath(
				AUTHORITY_URI, SMS_SCHEDULE_SENDING_RECORD_RECIPIENTS);

		public static final String PHONE_NUMBER = "phoneNumber";
		public static final String NAME = "name";
		public static final String MESSAGE = "message";
		public static final String CREATION_DATE_TIME = "creation_date_time";
		public static final String SENDING_STATUS = "sending_status";
		public static final String REFERENCE_SCHEDULE_SENDING_RECORD_ID = "reference_schedule_sending_record_id";

	}

}
